﻿https://support.microsoft.com/en-us/topic/powershell-2-0-removal-from-windows-fe6d1edc-2ed2-4c33-b297-afe82a64200a

Download the ps2DLC.zip file.

Extract the ps2DLC.zip file to a folder of your choice. 

Start a PowerShell window in admin mode.

Change to the folder containing the extracted PowerShell 2.0 files.

Run the following command:

powershell.exe -ExecutionPolicy Bypass -File "loadGAC.ps1"